//
//  DataStatisticsTableViewCell.m
//  tuanGG
//
//  Created by 微他 on 15/11/27.
//  Copyright (c) 2015年 weita. All rights reserved.
//

#import "DataStatisticsTableViewCell.h"

@implementation DataStatisticsTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.textfield = [[UITextField alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth/2,40)];
        self.textfield.leftView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 10, 0)];
        self.textfield.leftViewMode = UITextFieldViewModeAlways;
        self.textfield.font = [UIFont systemFontOfSize:15];
        self.textfield.textColor = [UIColor whiteColor];
        self.textfield.userInteractionEnabled = NO;
        [self addSubview:self.textfield];

        self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 50, 20)];
        self.label.font = [UIFont systemFontOfSize:15];
        self.label.textColor = [UIColor whiteColor];
        self.label.textAlignment = NSTextAlignmentRight;
        self.textfield.rightView = self.label;
        self.textfield.rightViewMode = UITextFieldViewModeAlways;
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
